--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
meshchatx/src/backend/http/context.py fa46dc4ce9ab50cbe66a7a9e4b3bca0140102345 (fa46dc4c) Text, 635 B
T8b949e# SPDX-License-Identifier: 0BSD
T8b949e"""Typing protocol for the app object passed into route registrars.
Route modules receive the live ReticulumMeshChat instance as app.
This Protocol documents the attributes handlers commonly need. It is not
an alternate runtime type.
"""
Tff7b72from T7ee787__future__ Tff7b72import Te6edf3annotations
Tff7b72from T7ee787typing Tff7b72import Te6edf3AnyTb4b4b4, Te6edf3Protocol
Tff7b72class T56d364MeshChatAppTb4b4b4(Te6edf3ProtocolTb4b4b4)Tb4b4b4:
T8b949e"""Minimal surface route and WS modules may rely on."""
Te6edf3storage_dirTb4b4b4: Tffa657str
Te6edf3auth_enabledTb4b4b4: Tffa657bool
Te6edf3identityTb4b4b4: Te6edf3Any
Te6edf3configTb4b4b4: Te6edf3Any
Te6edf3databaseTb4b4b4: Te6edf3Any
Te6edf3current_contextTb4b4b4: Te6edf3Any
Te6edf3_startup_stageTb4b4b4: Tffa657str
Tff7b72def Td2a8ffget_public_pathTb4b4b4(Tff7b72selfTb4b4b4, Tff7b72*Te6edf3partsTb4b4b4: Tffa657strTb4b4b4) Tff7b72-Tff7b72> Tffa657strTb4b4b4: Tff7b72.Tff7b72.Tff7b72.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────